<template>
  <button class="btn btn-primary btn-sm" @click="showImportExcel">导出结算表格</button>
  <vue-modal
    :title="title"
    ok-text="确定导出"
    cancel-text="取消"
    :show.sync="showSettle"
    effect="fade"
    :small="true"
    :width="460"
    :callback="submit">
    <div slot="modal-body" class="modal-body">
      <form class="form-horizontal" role="form">
       <div class="form-group form-group-sm text-left">
          <label class="col-sm-3 control-label">*开始时间</label>
          <div class="col-sm-9">
            <div class="text-left">
              <vue-date-picker
                :time.sync="startTime"
                :option='datePickerOption'>
              </vue-date-picker>
            </div>
          </div>
        </div>
       <div class="form-group form-group-sm text-left">
          <label class="col-sm-3 control-label">*结束时间</label>
          <div class="col-sm-9">
            <div class="text-left">
              <vue-date-picker
                :time.sync="endTime"
                :option='datePickerOption'>
              </vue-date-picker>
            </div>
          </div>
        </div>
      </form>
    </div>
  </vue-modal>
</template>
<style src="./export-settle.css"></style>
<script src="./export-settle.js"></script>
